package com.ft.adbix.oaid.util;

import android.util.Log;

import com.ft.adbix.oaid.OAIDManager;

public class OAIDLogUtil {
    private static final String TAG = "ADBixLogOAID";

    public OAIDLogUtil() {
    }

    public static void d(String log) {
        d(TAG, log);
    }

    public static void d(String tag, String log) {
        if (needShowLog()) {
            Log.d(tag, log);
        }

    }

    public static boolean needShowLog() {
        return OAIDManager.getInstance().isDebug();
    }
}
